package com.oxymore.jbnetapi.wow.realm;

/**
 * Contain the information on a realm status
 * 
 * @author Valentin
 * 
 */
public class Realm
{
	private String type;
	private boolean queue;
	private boolean status;
	private String population;
	private String name;
	private String slug;

	@Override
	public String toString()
	{
		return "RealmStatus [type=" + type + ", queue=" + queue + ", status="
				+ status + ", population=" + population + ", name=" + name
				+ ", slug=" + slug + "]";
	}

	/**
	 * @return the type of the realm (pvp, pve, rp...)
	 */
	public String getType()
	{
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(String type)
	{
		this.type = type;
	}

	/**
	 * @return the queue (false if there is no queue, true if there is a queue)
	 */
	public boolean isQueue()
	{
		return queue;
	}

	/**
	 * @param queue
	 *            the queue to set
	 */
	public void setQueue(boolean queue)
	{
		this.queue = queue;
	}

	/**
	 * @return the status (true if the realm is up and running, false if the
	 *         realm is down)
	 */
	public boolean isStatus()
	{
		return status;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(boolean status)
	{
		this.status = status;
	}

	/**
	 * @return the population
	 */
	public String getPopulation()
	{
		return population;
	}

	/**
	 * @param population
	 *            the population to set
	 */
	public void setPopulation(String population)
	{
		this.population = population;
	}

	/**
	 * @return the name (the public name of the realm e.g: Cho'gall)
	 */
	public String getName()
	{
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name)
	{
		this.name = name;
	}

	/**
	 * @return the slug (the "programmatic" name of the realm e.g:chogall)
	 */
	public String getSlug()
	{
		return slug;
	}

	/**
	 * @param slug
	 *            the slug to set
	 */
	public void setSlug(String slug)
	{
		this.slug = slug;
	}
}
